From: | Duncan Strand |
Date: | 02 Aug 99 at 17:32:10 |
Subject: | textfield problems :( |
From: "Duncan Strand" <dstrand@zebs.screaming.net>
I'm trying to write a program which uses the textfield gadget (v3.1)
Following the example, I open the gadget (which succeceds)
if( !( TextFieldBase = OpenLibrary( "textfield.gadget", 0L ) ) )
{
printf( "Failed to open textfield.gadget v3." );
shutdown( 20 );
}
Then when this line is run the program crashes
TextFieldClass = TEXTFIELD_GetClass();
With enforcer reporting:
02-Aug-9918:28:59
Illegal instruction
TRAP=0x04 SR=0x0013 PC=0x7832E8F0 TCB=0x781F3148
PC: 4D414B45 20446F6E 652EF00D DEADF00D DEADF00D DEADF00D DEADF00D DEADF00D
Data: 7832F27C 00000000 00001000 781F3FCC 00000001 1E7A2EBF 00000001 7B4A895B
Addr: 783335C0 78332164 78328448 781F3148 7833A116 79E85C78 7832F27C 79E85C58
Stck: 7832F9AE 782EE7D8 7832F8A6 783307E2 00000001 78328448 79F4A45C 79F4A4CC
Stck: 00F9FEAA 1E7D2867 7832F77C 79E85C9C 00000000 78000868 7832F84A 00000001
Name: "Shell Process" CLI: "CreateChar"
I'm using DiceC.
Thanks
-------------------------------------------------------------
Duncan Strand ICQ: 16966914
http://only.at/sci-fi Sci-fi pictures
http://www.geocities.com/enchantedforest/8132 Lion Software
-------------------------------------------------------------
Where do forest rangers go to "get away from it all?"